package demo02;

public class CircleTest {
    public static void main(String[] args) {

        Circle circle = new Circle();

        Cylinder cylinder = new Cylinder();

        circle.setR(10);

        cylinder.setH(10);

        cylinder.setR(10);

        System.out.println(circle.s());
        System.out.println(cylinder.v());

    }

}
